/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yy.bugzillahelp.ui.server;

import com.yy.bugzillahelp.data.server.ServerData;
import javax.swing.tree.DefaultMutableTreeNode;

/**
 *
 * @author hualun-alan
 */
public class ServerNode extends DefaultMutableTreeNode {

    private ServerData connectData;

    public ServerNode(ServerData connectData) {
        this.connectData = connectData;
        this.setUserObject(connectData.getConnectName());
    }

    public ServerData getConnectData() {
        return connectData;
    }
}
